install.sh now does a few checks to warn the user if prerequisite tools are missing.
install -m0644 ./COPYING $(DIST_DIR)
install -m0644 ./README $(DIST_DIR)
install -m0755 ./install.sh $(DIST_DIR)
+ mkdir -p $(DIST_DIR)/check
+ cp tools/check/chk /tools/check/check_* $(DIST_DIR)/check
# install everything into the standard system directories
# NB: install explicitly does not check that everything is up to date!
cp -fdR $src/* $dst
echo "All done."
+echo "Checking to see whether prerequisite tools are installed..."
+cd $src/../check
+./chk install
+echo "All done."
+
exit 0
echo >> ${info}
if [ "$failed" == "1" ] ; then
- echo "Checks failed. See ${info} for details."
+ echo "Checks failed. See `pwd`/${info} for details."
echo "FAILED" >> ${info}
exit 1
else